package com.temp_3;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.logging.SimpleFormatter;

public class Dates {
    public static void main(String[] args) {
        Date date = new Date();

        System.out.println(date);

        String dates = "2020:10:29";

        SimpleDateFormat simpleDateFormat = new  SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");

        System.out.println(simpleDateFormat.format(date));


    }
}
